package com.hcloud.libupload.utils

import android.os.Handler
import android.os.Looper

private val handler = Handler(Looper.getMainLooper())

fun runOnUi(block: () -> Unit) {
    handler.post {
        block()
    }
}